Columns from a Table or View

Description

This approach to defining a SQL SELECT statement requires less knowledge of SQL.

  1. Select the Columns from a table or view radio button.

  2. By default the Tables/Views list displays only standard tables and views.

    • 1. Optionally, click Filter List to display the Filter Table/View List dialog.

    • 2. Place checks next to the types of data sources that you would like to view. These include:

      • Views

      • Linked Tables

      • Synonyms

      • Aliases

      • System Tables

    • 3. Click OK to continue.

  3. Select a table or view from the Tables/Views list.

  4. Place checks next to the columns you would like to include in your report.

    images/SQR_Specify_SQL_Select_Statement.gif
    At any time you can switch to defining the SQL directly by clicking the Custom SQL Select statement or stored procedure radio button.
  5. If you would like to use an argument in a WHERE or ORDER BY clause of the SELECT statement, click Define Arguments to display the Define/Edit Arguments dialog box.

  6. Optionally, click Where to filter the records that you will retrieve with a WHERE clause in the SQL SELECT statement. Refer to Creating a WHERE Clause.

  7. Optionally, click Order By to sequence the records that you will retrieve with an ORDER BY clause in the SQL SELECT statement. Refer to Creating an ORDER BY Clause.

  8. Optionally, click Preview Data to see the data that the SELECT statement will retrieve.

  9. Optionally, click Advanced Options to define how the imported data will be mapped into fields in an Alpha Anywhere table. This dialog allows you to change data types and field lengths.

  10. Click Finish to begin to display the Design Time Properties dialog box.

Limitations

Desktop Applications Only

See Also